package ucd.wirelessnetworkmonitor;

import ucd.wirelessnetworkmonitor.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashScreenActivity extends Activity {
	
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash_screen);
 
        Handler handler = new Handler();
        handler.postDelayed(new Runnable() {
 
            public void run() {
 
                // Close the splash screen so the user won't come back when it presses back key
                finish();
                
                // Start the main activity
                Intent intent = new Intent(SplashScreenActivity.this, MainMenuActivity.class);
                SplashScreenActivity.this.startActivity(intent);
            }
 
        }, 3500);
    }
}
